package com.tiancheng.trade.merchant.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

@Data
@ToString(callSuper = true)
@TableName(value = "area")
public class Area {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String areaCode;
    private String areaName;
    private String parentAreaCode;
    /**
     * 层级，省-1，市-2，区县-3
     */
    private Integer level;
}
